<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<form action="shous.jsp" method="get">
    <input type="text" id="text" value="找电视剧、影人、影院" class="zixuankuang"  style="padding: 0 0 0 5px;"/>
    <img src="img/01.png" class="sousuo" onclick="shous()">
</form>

<script>
    function shous() {
        let text = document.getElementById("text").value
        window.location.href=`shous.jsp?text=` + text;
    }
</script>
